// DViewport.cpp : implementation file
//

#include "stdafx.h"
#include "sisgraf03.h"
#include "DViewport.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// DViewport dialog


DViewport::DViewport(CWnd* pParent /*=NULL*/)
	: CDialog(DViewport::IDD, pParent)
{
	//{{AFX_DATA_INIT(DViewport)
	m_xvd = 0;
	m_xvi = 0;
	m_yva = 0;
	m_yvb = 0;
	//}}AFX_DATA_INIT
}


void DViewport::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(DViewport)
	DDX_Text(pDX, IDC_xvd, m_xvd);
	DDV_MinMaxUInt(pDX, m_xvd, 0, 799);
	DDX_Text(pDX, IDC_xvi, m_xvi);
	DDV_MinMaxUInt(pDX, m_xvi, 0, 799);
	DDX_Text(pDX, IDC_yva, m_yva);
	DDV_MinMaxUInt(pDX, m_yva, 0, 599);
	DDX_Text(pDX, IDC_yvb, m_yvb);
	DDV_MinMaxUInt(pDX, m_yvb, 0, 599);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(DViewport, CDialog)
	//{{AFX_MSG_MAP(DViewport)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// DViewport message handlers
